#!/usr/bin/env python

from distutils.sysconfig import get_python_lib 

METADATA = dict(
  name = "Thermochron",
  author='Boris Avdeev',
  author_email='borisaqua@gmail.com',
  long_description='Thermochron codes',
  license='BSD License',
  url='http://code.google.com/p/thermochron/'
)

def pysetup():
    METADATA['long_description'] = '\n'.join([open('README').read(),])
    try:
        import setuptools
        setuptools.setup(**METADATA)
    except ImportError:
        import distutils.core
        distutils.core.setup(**METADATA)

if __name__ == '__main__':
    pysetup()

